package com.wlxk.base.common.constant;

/**
 * @author wlxk
 * @since 2021-11-04 13:14:25
 */
public enum WlErrEnum {

    UNKNOWN(100501, "未知错误"),
    PARAM_ERR(100101, "参数错误"),
    PARAM_EMPTY(100102, "入参不能为空"),
    LOGIN_EXPIRE(100301, "登录已失效，请重新登录！");

    /**
     * 编码
     */
    public final int code;
    /**
     * 消息
     */
    public final String msg;

    WlErrEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
